package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 * 大峰配置
 * Created by 吴柏平 on 2017/7/31.
 */
@Component
@DisconfFile(targetDirPath = "disconf", filename = "bee.properties")
public class BeeProperties {
    //客户标识
    private String clientId;

    //产品编号
    private String appCode;

    //客户密码
    private String password;

    //客户数据签名
    private String signature;

    @DisconfFileItem(name = "bee.clientId", associateField = "clientId")
    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    @DisconfFileItem(name = "bee.appCode", associateField = "appCode")
    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    @DisconfFileItem(name = "bee.password", associateField = "password")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @DisconfFileItem(name = "bee.signature", associateField = "signature")
    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}


